package com.dxy.yesas2020goals.study.partone.disignpattern.explainpattern.calculate;

public abstract class Interpreter implements IArithmeticInterpreter {

    protected IArithmeticInterpreter left;
    protected IArithmeticInterpreter right;
    protected IArithmeticInterpreter left_kuohao;
    protected IArithmeticInterpreter right_kuohao;


    public Interpreter(IArithmeticInterpreter left, IArithmeticInterpreter right, IArithmeticInterpreter left_kuohao, IArithmeticInterpreter right_kuohao) {
        this.left = left;
        this.right = right;
        this.left_kuohao = left_kuohao;
        this.right_kuohao = right_kuohao;
    }
}